package com.miniboy.imageloader_sample;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;

public class ListActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_list);
        ListView listView = (ListView) findViewById(R.id.id_list_images);
        ImageAdapter imageAdapter = new ImageAdapter(this, Images.imageThumbUrls);
        if (listView != null) {
            listView.setAdapter(imageAdapter);
        }
    }
}
